package cn.wuxun.sponsor.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jt.common.pojo.Sponsor;

public interface SponsorMapper {

	void addSponsor(Sponsor sponsor);

	void updateSponsor(Sponsor sponsor);

	Sponsor querySponsorById(int sid);

	void delSponsor(int sid);

	Integer queryTotalCount();

	List<Sponsor> queryByPage(@Param("start")Integer start, @Param("rows")Integer rows);

	List<Sponsor> queryAllSponsor();

	

}
